interface Car {
  name: string;
  run(): void;
}

class Bus implements Car {
  name: string;
  speed: number;
  run(): void {
    console.log(this.name + 'is running');
  }
}